package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 桌台管理对象 table_management
 *
 * @author ruoyi
 * @date 2025-05-07
 */
@ApiModel("桌台管理对象")
public class TableManagement extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 桌台管理表的唯一标识符，自动递增 */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 门店名称，记录桌台所属的门店名称 */
    @ApiModelProperty("门店名称")
    @Excel(name = "门店名称，记录桌台所属的门店名称")
    private String storeName;

    /** 门店编号，用于唯一标识门店，可以是数字、字母或它们的组合 */
    @ApiModelProperty("门店编号")
    @Excel(name = "门店编号，用于唯一标识门店，可以是数字、字母或它们的组合")
    private String storeCode;

    /** 桌台分类数 */
    @ApiModelProperty("桌台分类数")
    @Excel(name = "桌台分类数")
    private Long tableCategoryCount;

    /** 桌台总数，记录该门店下该分类的桌台总数 */
    @ApiModelProperty("桌台总数")
    @Excel(name = "桌台总数，记录该门店下该分类的桌台总数")
    private Long totalTables;

    /** 手机号 */
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }

    public void setStoreCode(String storeCode)
    {
        this.storeCode = storeCode;
    }

    public String getStoreCode()
    {
        return storeCode;
    }

    public Long getTableCategoryCount() {
        return tableCategoryCount;
    }

    public void setTableCategoryCount(Long tableCategoryCount) {
        this.tableCategoryCount = tableCategoryCount;
    }

    public void setTotalTables(Long totalTables)
    {
        this.totalTables = totalTables;
    }

    public Long getTotalTables()
    {
        return totalTables;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeName", getStoreName())
                .append("storeCode", getStoreCode())
                .append("tableCategoryCount", getTableCategoryCount())
                .append("totalTables", getTotalTables())
                .append("phone", getPhone())
                .toString();
    }
}
